package view.ui
{
	import flash.display.DisplayObject;
	import flash.display.DisplayObjectContainer;
	import flash.display.Sprite;
	import flash.display.Stage;
	
	public class UITooltip extends Sprite
	{
		private static var _instance :UITooltip = null;
		
		
		private var targetStage :Stage;
		private var parentObj :DisplayObject;
		public function UITooltip(prv :PrivateClass)
		{
			super();
		}
		/**
		 * 显示tooltip 
		 * @param target
		 * @param title
		 * @param content
		 * 
		 */		
		public function show(target :DisplayObjectContainer,title :String,content :String):void
		{
			this.targetStage = target.stage;
			this.parentObj = target;
			
			this.addCopy(title,content);
		}
		
		private function addCopy(title :String, content :String):void
		{
			
		}
		
		

		public static function get instance():UITooltip
		{
			if(_instance == null)
			{
				_instance = new UITooltip(new PrivateClass());
			}
			return _instance;
		}

	}
}

class PrivateClass{}